package com.example.javaee.service;

import com.example.javaee.entity.Goods;

import java.util.List;

/**
 * @ClassName BookService
 * @Description
 * @Author 杨理欢
 * @Date 2021/11/16 14:43
 * @Version V1.0
 */
public interface GoodsService {
     List<Goods> findAllGoods();
     List<Goods> findFuzzyGoods(String keywords);
     int updateGoods(Goods goods);
     int deleteGoods(int id);
     int addGoods(Goods goods);

     List<Goods> ascAllGoods();

     List<Goods> descAllGoods();

     List<Goods> wxFindAllGoods();
     List<Goods> wxAscAllGoods();

     List<Goods> wxDescAllGoods();
}
